/troubleTicket/{id}
[GET]
To retrieve the ticket number from ACUT based on service number
When services have extension:
https://nonprod.esb.cloud.lla.com/test/sfdc-ux/sfdc-ux/v1/JM/troubleTicket/005dq000004DMjAAD?ticketType=123&channel.id=SALESFORCE123&channel.name=SALESFORCE&filter=$.relatedEntity[?((@.id=="56789")%26%26(@.name=="serviceNumber"))%26%26((@.id=="114")%26%26(@.name=="serviceNumberExtension"))]
When services don’t have extensions:
https://nonprod.esb.cloud.lla.com/test/sfdc-ux/sfdc-ux/v1/JM/troubleTicket/005dq000004DMjAAD?ticketType=123&channel.id=SALESFORCE123&channel.name=SALESFORCE&relatedEntity.id="56789"&relatedEntity.name="serviceNumber"
URI Params
| Name | Type | Description | Required |
|---|
| businessId | String | 2 letter ISO 3166 country code (CO, HN, CR, DO, SV, GT, WHS etc.) identifying the business unit. Expected:JM,AI,AG,VG,KY,DM,GD,MS,KN,LC,VC,TC | Y |
| id | String | Salesforce case id | Y |
| Name | Type | Description | Required |
|---|
| client_id | string | The client_id identifying the channel. Minimum characters: 5 | Y |
| client_secret | string | Password associated with the client_id. Minimum characters: 5 | Y |
| X-Correlation-ID | string | Identifier that correlates HTTP request between a client and server. Any identification model (UUDI, checksum, etc.) can be used, as long as it is a unique value to differentiate a transaction. | Y |
QueryParams
| Name | Type | Description | Required |
|---|
| relatedEntity.name | string | Name of related entity | N |
| relatedEntity.id | string | Unique identifier of related entity. relatedEntity.id and relatedEntity.name should be passed when there is no extension for services | N |
| ticketType | string | ticket type | Y |
| channel.id | string | channel id | Y |
| channel.name | string | channel name | Y |
| filter | string | An attribute selector directive called “filter” MUST be used to specify the JSON Path expression.Eg: filter=$.relatedEntity[?((@.id=="56789")%26%26(@.name=="serviceNumber"))%26%26((@.id=="114")%26%26(@.name=="serviceNumberExtension"))], Should be in same way to pass when we have extensions for services | N |
Sample Response
{
"id": "005dq000004DMjAAD",
"externalId": "2025122203797963"
}